﻿@model MIMSWeb.Models.MedicalHistoryViewModel

@{
    ViewBag.Title = "View";
}
<style type="text/css">
label, form div.label{
	display:block;
	margin:0px;
	padding:3px 3px 3px 0px; 
	clear:both;
	float: left;
	width: 300px;
	vertical-align: top;
}

label span, div.label span{
	display:inline-block;
	float:left;
	padding:2px 6px 0 0;
	text-align:right;
	width:170px;
	font-weight:normal;
}

    .history {
        width: auto
    }
</style>
<h2>Medical History : @Model._patient.Code</h2>
<div>

       <h3>Bio-Data</h3>
    <label><span>First Name:</span>@Model._patient.FirstName</label>
    <label><span>Middle Name:</span>@Model._patient.MiddleName</label>
    <label><span>Surname:</span>@Model._patient.LastName</label>
    <label><span>Sex</span>@Model._patient.Sex</label>

    <label><span><strong>Family History</strong> </span></label>
            <!-- Begin Family History Section -->
    <section id="familyHistory"></section>
    <label><span> <strong>Surgical History</strong> </span></label>
        <!-- Begin Surgical History Section -->
    <section id="surgicalHistory"></section>
    <label><span><h3>Drug History</h3> </span></label>
    <!-- Begin Drug History Section -->
    <section id="drugHistory">
        @foreach (var item in @Model._patient.DrugHistory)
        {
            <label><span>Does Patient Use Drugs or Medications:</span>@item.HasMedications</label>
            <label><span>Were they prescribed from a doctor or dentist:</span>@item.MedicationsPrescribed</label>
            <label><span>Did the patient purchase from a pharmacy?:</span>@item.MedicationsPurchased</label>
            <label><span>Does the patient take any inhalers</span>@item.UsesInhalers</label>
            <label><span>Does the patient take any skin creams :</span>@item.UsesSkinCreams</label>
            <label><span>Does the patient take any or patches</span>@item.UsesPatches</label>
            <label><span>Does the patient take any suppositories?:</span>@item.UsesSuppositories</label>
            <label><span>Does the patient take any tablets to suck?:</span>@item.UsesTabletsToSuck</label>
            <label><span>Has the patient stopped taking any drugs recently?:</span>@item.HasStoppedTakenMedication</label>
            <label><span>Does the patient take medication prescribed for other people such as your spouse?:</span>@item.TakesMedicationPrescribedForOtherPeople</label>
            <label><span>Does the patient use herbal or other complementary medicines?:</span>@item.UsesHerbalOrOtherComplementaryMedicines</label>
        }
    </section>
    <label><span><strong>Obstetric History</strong></span></label>
    <section></section>
</div>



